import request from '@/utils/request'

// 获取铅封溯源数据集合
export function countSnCode(snCode) {
    return request({
        url: `/mobile/sealno/countSnCode/${snCode}` ,
        method: 'get'
    })
}

// 提交铅封施打信息
export function submitSealnoOperation(snCode, status, deviceId) {
    return request({
        url: `/mobile/sealno/submitSealnoOperation/${snCode}/${status}`,
        method: 'get',
        params: {
            deviceId
        }
    })
}

// 提交铅封拆封信息
export function submitSealnoAcceptance(snCode, status, deviceId) {
    return request({
        url: `/mobile/sealno/submitSealnoAcceptance/${snCode}/${status}`,
        method: 'get',
        params: {
            deviceId
        }
    })
}
